package com.common.database.controller;

import com.common.database.dao.test1.Test1Mapper;
import com.common.database.model.Db1;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 24373
 * @description
 * @date 2024/3/20 22:54
 */
@Controller
public class TestController {

    @Resource
    private Test1Mapper test1Mapper;

    @GetMapping
    public List<Db1> test() {
        return test1Mapper.selectList(null);
    }

}
